<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:directive.include file="includes.jsp"/>
<html>
	<head>
		<link href="css/uploadify.css"  rel="stylesheet" type="text/css" />
		<link href="css/table.css"  rel="stylesheet" type="text/css" />
		
		<script type="text/javascript" src="uploadify/jquery-1.3.2.min.js"></script>
		<script type="text/javascript" src="uploadify/jquery-ui-1.7.2.custom.min.js"></script>
		<script type="text/javascript" src="uploadify/swfobject.js" ></script>
		<script type="text/javascript" src="uploadify/jquery.uploadify.js" ></script>
		<script type="text/javascript" src="uploadify/jquery.dataTables.js" ></script>
		<script type="text/javascript">

			$(document).ready(function() {
				$("#uploadify").uploadify({
			           'uploader'       : 'uploadify/uploadify.swf',
			           'script'         : 'uploadFile.scrum',
			           'cancelImg'      : 'uploadify/cancel.png',
			           'queueID'        : 'div_fileQueue',
			           'method'         : 'POST',
			           'multi'          : 'true',
			           'buttonText'     : 'Selecionar...',
			           'width'          : '200',
			           'scriptAccess'   : 'always'
			     });
			});
			
		</script>
	</head>
	<body style="margin: 0px;" vlink="white">
	
	<c:import url="barrasuperior.jsp"></c:import>
		
		<br/>
		
		<table width="100%">
			<tr>
				<td style="vertical-align: top; width: 30%">
					<div class="div_upload" style="padding-top: 30px">
						<div id="div_fileQueue"/>
						<input type="file" name="uploadify" id="uploadify"/>
					</div>
					
					<a href="javascript:$('#uploadify').uploadifyUpload();" style="color: black"><font face="tahoma" size="2"> :: Enviar </font></a>	
					<br/>
					<a href="javascript:$('#uploadify').uploadifyClearQueue();"><font face="tahoma" size="2"> :: Limpar </font></a>
				</td>
				<td style="width: 70%">
					<c:import url="listFile.scrum"/>
				</td>
			</tr>
		</table>
	</body>
</html>